﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.EventBus;

namespace mozhi.smarterp.AuthorCenter.DataLinkages.Events
{
    [EventName("smarterp.datalinkage.authorcenter.create")]
    public class AuthorCentorDataLinkageCreateEvent
    {
        public Guid? TenantId { get; set; }

        public Guid ProviderId { get; set; }

        public string ProviderType { get; set; }

        public string ProviderContent { get; set; }

        public Guid ConsumerId { get; set; }

        public string ConsumerType { get; set; }

        public string ConsumerContent { get; set; }

        public AuthorCentorDataLinkageCreateEvent(Guid? tenantId, Guid providerId, string providerType, string providerContent, Guid consumerId, string consumerType, string consumerContent)
        {
            TenantId = tenantId;
            ProviderId = providerId;
            ProviderType = providerType;
            ProviderContent = providerContent;
            ConsumerId = consumerId;
            ConsumerType = consumerType;
            ConsumerContent = consumerContent;
        }
    }
}
